package com.wsd.smartcarwasher.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import com.wsd.smartcarwasher.domain.OfficialAccountUserExample;
import com.wsd.smartcarwasher.dao.OfficialAccountUserMapper;
import com.wsd.smartcarwasher.domain.OfficialAccountUser;
@Service
public class OfficialAccountUserService extends ServiceImpl<OfficialAccountUserMapper, OfficialAccountUser> {

    
    public long countByExample(OfficialAccountUserExample example) {
        return baseMapper.countByExample(example);
    }
    
    public int deleteByExample(OfficialAccountUserExample example) {
        return baseMapper.deleteByExample(example);
    }
    
    public List<OfficialAccountUser> selectByExample(OfficialAccountUserExample example) {
        return baseMapper.selectByExample(example);
    }
    
    public int updateByExampleSelective(OfficialAccountUser record,OfficialAccountUserExample example) {
        return baseMapper.updateByExampleSelective(record,example);
    }
    
    public int updateByExample(OfficialAccountUser record,OfficialAccountUserExample example) {
        return baseMapper.updateByExample(record,example);
    }

    public OfficialAccountUser selectUserByUnionId(String unionId)
    {
        return baseMapper.selectUserByUnionId(unionId);
    }
}
